Integrand size = 38, antiderivative size = 45 \[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{3/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{3 a f \sqrt {c-c \sin (e+f x)}} \]
[Out]
Time = 0.24 (sec) , antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {2920, 2817} \[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{3/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=\frac {\cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{3 a f \sqrt {c-c \sin (e+f x)}} \]
[In]
[Out]
Rule 2817
Rule 2920
Rubi steps \begin{align*} \text {integral}& = \frac {\int (a+a \sin (e+f x))^{5/2} \sqrt {c-c \sin (e+f x)} \, dx}{a c} \\ & = \frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{3 a f \sqrt {c-c \sin (e+f x)}} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(111\) vs. \(2(45)=90\).
Time = 7.00 (sec) , antiderivative size = 111, normalized size of antiderivative = 2.47 \[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{3/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=\frac {\left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) (a (1+\sin (e+f x)))^{3/2} (-6 \cos (2 (e+f x))+15 \sin (e+f x)-\sin (3 (e+f x)))}{12 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^3 \sqrt {c-c \sin (e+f x)}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(120\) vs. \(2(39)=78\).
Time = 0.17 (sec) , antiderivative size = 121, normalized size of antiderivative = 2.69
method | result | size |
default | \(-\frac {\left (1+\cos \left (f x +e \right )\right ) \left (\left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )+\cos ^{3}\left (f x +e \right )-3 \cos \left (f x +e \right ) \sin \left (f x +e \right )+2 \left (\cos ^{2}\left (f x +e \right )\right )-\sin \left (f x +e \right )-4 \cos \left (f x +e \right )+1\right ) \sqrt {a \left (1+\sin \left (f x +e \right )\right )}\, a}{3 f \left (\cos \left (f x +e \right )+\sin \left (f x +e \right )+1\right ) \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}}\) | \(121\) |
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.71 \[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{3/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=-\frac {{\left (3 \, a \cos \left (f x + e\right )^{2} + {\left (a \cos \left (f x + e\right )^{2} - 4 \, a\right )} \sin \left (f x + e\right ) - 3 \, a\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{3 \, c f \cos \left (f x + e\right )} \]
[In]
[Out]
\[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{3/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=\int \frac {\left (a \left (\sin {\left (e + f x \right )} + 1\right )\right )^{\frac {3}{2}} \cos ^{2}{\left (e + f x \right )}}{\sqrt {- c \left (\sin {\left (e + f x \right )} - 1\right )}}\, dx \]
[In]
[Out]
\[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{3/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=\int { \frac {{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {3}{2}} \cos \left (f x + e\right )^{2}}{\sqrt {-c \sin \left (f x + e\right ) + c}} \,d x } \]
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 53, normalized size of antiderivative = 1.18 \[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{3/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=-\frac {8 \, a^{\frac {3}{2}} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}{3 \, \sqrt {c} f \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )} \]
[In]
[Out]
Time = 10.31 (sec) , antiderivative size = 87, normalized size of antiderivative = 1.93 \[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{3/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=-\frac {a\,\sqrt {a\,\left (\sin \left (e+f\,x\right )+1\right )}\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (6\,\cos \left (e+f\,x\right )+6\,\cos \left (3\,e+3\,f\,x\right )-14\,\sin \left (2\,e+2\,f\,x\right )+\sin \left (4\,e+4\,f\,x\right )\right )}{12\,c\,f\,\left (\cos \left (2\,e+2\,f\,x\right )+1\right )} \]
[In]
[Out]